package com.shop.admin.service;

import com.shop.Result.LdbzResult;
import com.shop.pojo.LdbzAdminRole;
import org.springframework.stereotype.Service;

@Service
public interface AdminRoleService {

    LdbzResult countAdminRole(LdbzAdminRole entity);
    LdbzResult getAdminRolePage(LdbzAdminRole entity,int pn,int limit);
    LdbzResult selectByKey(Long id);
    LdbzResult deleteByKey(String id);
    LdbzResult insertByEntity(LdbzAdminRole entity);
    LdbzResult updateBuKey(LdbzAdminRole entity);
}
